package guda.demox.dal;


import guda.demox.dal.common.PageQuery;
import guda.demox.dal.model.BlogDO;

import java.util.List;

/**
 * Created by well on 2017/11/7.
 */
public interface BlogDAO {


    Long insert(BlogDO admin);


    BlogDO selectById(Long adminId);


    boolean delById(Long blogId);

    List<BlogDO> selectByIds(List idsList);


    List<BlogDO> selectForPage(PageQuery pageQuery);

    int countForPage(PageQuery pageQuery);

    void updateByIdSelective(BlogDO blogDO);

}
